package com.congee02.springframework.context.event;

import com.congee02.springframework.context.ApplicationEvent;

import java.util.EventListener;

@FunctionalInterface
public interface ApplicationListener<E extends ApplicationEvent> extends EventListener {

    /**
     * 处理事件
     */
    void onApplicationEvent(E event);

}
